package com.ailsa.learningsystem.reflex;

/**
 * @Author 冉冉
 * @Version 1.0
 */

public class Apple implements Fruit{
    String color="黑色";

    public Apple(String color) {
        this.color = color;
    }

    public Apple() {
    }

    @Override
    public void seqzz() {
        System.out.println("榨出苹果汁");
    }

    @Override
    public String toString() {
        return "Apple{" +
                "color='" + color + '\'' +
                '}';
    }
}
